home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / tools / dfÜ / bbs / tempdemo / tempest / rexx / faxin.rexx < prev   
Encoding:
OS/2 REXX Batch file  |  1995-06-21  |  609 b   |  38 lines

  1. /* 
  2.  
  3. script to recieve Fax
  4.  
  5.  
  6.  
  7. GP-FAX must always be loaded and you must have it set to FAX/DATA but
  8. disable auto answer and in ya startup sequence after gpfax has had time to
  9. initialise and setup the modem (should have the same DTE rate as the
  10. tempest node u want to use as a fax)
  11.  
  12. put the lines: (for example)
  13.  
  14. run >nil: bbs:tempest 1 tempest:
  15. wait 2
  16. run >nil: gpfax:gpfax -s -l19200 -q
  17. wait 4
  18. rx "" address "REXX_GPFAX" closeserial
  19.  
  20.  
  21.  
  22.  */
  23.  
  24. options results
  25.  
  26. if ~show('P','REXX_GPFAX') = 1 then do
  27.  say 'Sorry GPFax not loaded...'
  28.  exit 1
  29. end
  30.  
  31. address "REXX_GPFAX"
  32. openserial
  33. fconreceive
  34. closeserial
  35.  
  36. exit 0
  37.  
  38.